package com.woniuxy.lrz.carlproject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 用户车辆信息表
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
@TableName("user_car")
@ApiModel(value = "UserCar对象", description = "用户车辆信息表")
public class UserCar implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_car_id", type = IdType.AUTO)
    private Integer userCarId;

    @ApiModelProperty("车型详情表id")
    private Integer carDetailId;

    @ApiModelProperty("CURRENT 当前  WAITTING待启用")
    private String status;

    @ApiModelProperty("关联用户id")
    private Integer userId;

    @ApiModelProperty("车牌号")
    private String carNo;

    @ApiModelProperty("vin码")
    private String vinCode;

    @ApiModelProperty("行驶证照片")
    private String licensePhoto;

    public Integer getUserCarId() {
        return userCarId;
    }

    public void setUserCarId(Integer userCarId) {
        this.userCarId = userCarId;
    }

    public Integer getCarDetailId() {
        return carDetailId;
    }

    public void setCarDetailId(Integer carDetailId) {
        this.carDetailId = carDetailId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public String getVinCode() {
        return vinCode;
    }

    public void setVinCode(String vinCode) {
        this.vinCode = vinCode;
    }

    public String getLicensePhoto() {
        return licensePhoto;
    }

    public void setLicensePhoto(String licensePhoto) {
        this.licensePhoto = licensePhoto;
    }

    @Override
    public String toString() {
        return "UserCar{" +
        "userCarId = " + userCarId +
        ", carDetailId = " + carDetailId +
        ", status = " + status +
        ", userId = " + userId +
        ", carNo = " + carNo +
        ", vinCode = " + vinCode +
        ", licensePhoto = " + licensePhoto +
        "}";
    }
}
